package cn.dynamic.view.controller;

import cn.dynamic.view.entity.ResultVO;

public abstract class BaseController {

    public ResultVO success(Object data) {
        return ResultVO.success(data);
    }

    public ResultVO error(String msg) {
        return ResultVO.error(msg);
    }
}
